<div class="container">
  <h1 class="mt-4 text-center" ><%= gettext("Resend confirmation instructions") %></h1>

  <div class="card">
    <div class="card-body">
    <div class="row">
      <div class="col-md-8 offset-md-2">
        <div class="card-body">
        <%= form_for :user, Routes.user_confirmation_path(@conn, :create), fn f -> %>
          <div cass="form-group">
            <%= label f, gettext("email") %>
            <%= email_input f, :email, [required: true, class: "form-control"] %>
            <%= error_tag f, :email %>

          </div>

          <div>
            <%= submit gettext("Resend confirmation instructions"), class: "btn btn-primary" %>
          </div>
        <% end %>
        </div>
      </div>
    </div>
  </div>
</div>

<p>
  <%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
  <%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
</p>
